package org.example.service.Impl;

import org.example.dao.mapper.db2.CountMapper;
import org.example.service.CountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("countService")
public class CountServiceImpl implements CountService {
    @Autowired
    CountMapper countMapper;

    @Override
    public Integer getCountById(Long id) {
        Integer count = countMapper.getCountById(id);
        return count;
    }
}
